package de.tsystems.dict.client;

import com.google.gwt.core.client.JavaScriptObject;

class LanguageEntry extends JavaScriptObject {                              // (1)
    // Overlay types always have protected, zero argument constructors.
    protected LanguageEntry() {}                                              // (2)

    // JSNI methods to get language data.
    public final native String getId() /*-{ return this.id; }-*/;
    public final native String getName() /*-{ return this.name; }-*/;
    public final native String setId(String id) /*-{ this.id = id; }-*/;
    public final native String setName(String name) /*-{ this.name = name; }-*/;

}